// pages/indexstory/index.js
Page({

  /**
   * 页面的初始数据
   */
  data: {
    userimg:''
  },
  getuserimg(e){
    console.log(e.detail.avatarUrl);
    this.setData({userimg:e.detail.avatarUrl})
  }
  /**
   * 生命周期函数--监听页面加载
   */
  // onLoad(options) {
  //   wx.setStorageSync('obj', {a:1})
  //   wx.setStorageSync('obj2', {b:2})
  //   console.log(wx.getStorageSync('obj')); 
  //   wx.removeStorageSync('obj')
  //   wx.clearStorageSync()
  // },

  
})